set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_VERSION 1)
set(CMAKE_SYSTEM_PROCESSOR armv7l)

set(_CMAKE_TOOLCHAIN_LOCATION /home/ubuntu/workspace/cross_tool/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/bin)
set(_CMAKE_TOOLCHAIN_PREFIX arm-linux-gnueabihf-)
set(CMAKE_C_COMPILER    ${_CMAKE_TOOLCHAIN_LOCATION}/${_CMAKE_TOOLCHAIN_PREFIX}gcc)
set(CMAKE_CXX_COMPILER  ${_CMAKE_TOOLCHAIN_LOCATION}/${_CMAKE_TOOLCHAIN_PREFIX}g++)


